package com.ruoyi.project.jiaqin.downtrend.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 羽绒价格走势对象 down_trend
 *
 * @author admin
 * @date 2021-01-29
 */
public class DownTrend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 羽绒分类D */
    @Excel(name = "羽绒分类D")
    private String downClassId;

    /** 羽绒标准ID */
    @Excel(name = "羽绒标准ID")
    private String downStandardId;

    /** 含绒量ID */
    @Excel(name = "含绒量ID")
    private String downMeasureId;

    /** 今日均价 */
    @Excel(name = "今日均价")
    private Double avgPrice;

    /** 今日日期 */
    @Excel(name = "今日日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date day;

    /** 波动百分比(相较于前日) */
    @Excel(name = "波动百分比(相较于前日)")
    private Double wavePerc;

    /** 波动价格(相较于前日) */
    @Excel(name = "波动价格(相较于前日)")
    private Double wavePrice;

    /** 趋势状态 0-平稳1-上涨2-下跌 */
    @Excel(name = "趋势状态 0-平稳1-上涨2-下跌")
    private Integer status;

    /** 删除标记（0-正常，1-删除） */
    private Integer delFlag;

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setDownClassId(String downClassId)
    {
        this.downClassId = downClassId;
    }

    public String getDownClassId()
    {
        return downClassId;
    }
    public void setDownStandardId(String downStandardId)
    {
        this.downStandardId = downStandardId;
    }

    public String getDownStandardId()
    {
        return downStandardId;
    }
    public void setDownMeasureId(String downMeasureId)
    {
        this.downMeasureId = downMeasureId;
    }

    public String getDownMeasureId()
    {
        return downMeasureId;
    }
    public void setAvgPrice(Double avgPrice)
    {
        this.avgPrice = avgPrice;
    }

    public Double getAvgPrice()
    {
        return avgPrice;
    }
    public void setDay(Date day)
    {
        this.day = day;
    }

    public Date getDay()
    {
        return day;
    }
    public void setWavePerc(Double wavePerc)
    {
        this.wavePerc = wavePerc;
    }

    public Double getWavePerc()
    {
        return wavePerc;
    }
    public void setWavePrice(Double wavePrice)
    {
        this.wavePrice = wavePrice;
    }

    public Double getWavePrice()
    {
        return wavePrice;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("downClassId", getDownClassId())
            .append("downStandardId", getDownStandardId())
            .append("downMeasureId", getDownMeasureId())
            .append("avgPrice", getAvgPrice())
            .append("day", getDay())
            .append("wavePerc", getWavePerc())
            .append("wavePrice", getWavePrice())
            .append("status", getStatus())
                .append("delFlag", getDelFlag())
            .toString();
    }
}
